package com.android.studyspot;

import java.sql.Timestamp;

public class StudySpotTable {
	private int id;
	
	@com.google.gson.annotations.SerializedName("ss_school_id")
	private int schoolId;
	
	@com.google.gson.annotations.SerializedName("ss_course_id")
	private int courseId;
	
	@com.google.gson.annotations.SerializedName("ss_startdatetime")
	private Timestamp startDateTime;
	
	@com.google.gson.annotations.SerializedName("ss_enddatetime")
	private Timestamp endDateTime;
	
	@com.google.gson.annotations.SerializedName("ss_creator")
	private int creatorId;
	
	@com.google.gson.annotations.SerializedName("ss_status")
	private int status;
	
	@com.google.gson.annotations.SerializedName("location")
	private String locDetails;
	
	StudySpotTable(int schoolId, int courseId, Timestamp start, Timestamp end, int creator, int status, String details) {
		this.schoolId = schoolId;
		this.courseId = courseId;
		this.startDateTime = start;
		this.endDateTime = end;
		this.creatorId = creator;
		this.status= status;
		this.locDetails = details;
	}
	
	public int getId() {
		return this.id;
	}
	
	public int getStatus() {
		return this.status;
	}
	
}
